3.161 \(\int \frac {(d x)^{-1+n}}{\log ^3(c x^n)} \, dx\)

Optimal. Leaf size=77 \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{2 c n}-\frac {(d x)^n}{2 d n \log ^2\left (c x^n\right )}-\frac {(d x)^n}{2 d n \log \left (c x^n\right )} \]

[Out]

1/2*x^(1-n)*(d*x)^(-1+n)*Li(c*x^n)/c/n-1/2*(d*x)^n/d/n/ln(c*x^n)^2-1/2*(d*x)^n/d/n/ln(c*x^n)

________________________________________________________________________________________

Rubi [A]  time = 0.08, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2306, 2308, 2307, 2298} \[ \frac {x^{1-n} (d x)^{n-1} \text {li}\left (c x^n\right )}{2 c n}-\frac {(d x)^n}{2 d n \log ^2\left (c x^n\right )}-\frac {(d x)^n}{2 d n \log \left (c x^n\right )} \]

Antiderivative was successfully verified.

[In]

Int[(d*x)^(-1 + n)/Log[c*x^n]^3,x]

[Out]

-(d*x)^n/(2*d*n*Log[c*x^n]^2) - (d*x)^n/(2*d*n*Log[c*x^n]) + (x^(1 - n)*(d*x)^(-1 + n)*LogIntegral[c*x^n])/(2*
c*n)

Rule 2298

Int[Log[(c_.)*(x_)]^(-1), x_Symbol] :> Simp[LogIntegral[c*x]/c, x] /; FreeQ[c, x]

Rule 2306

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log
[c*x^n])^(p + 1))/(b*d*n*(p + 1)), x] - Dist[(m + 1)/(b*n*(p + 1)), Int[(d*x)^m*(a + b*Log[c*x^n])^(p + 1), x]
, x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1] && LtQ[p, -1]

Rule 2307

Int[(x_)^(m_.)/Log[(c_.)*(x_)^(n_)], x_Symbol] :> Dist[1/n, Subst[Int[1/Log[c*x], x], x, x^n], x] /; FreeQ[{c,
 m, n}, x] && EqQ[m, n - 1]

Rule 2308

Int[((d_)*(x_))^(m_.)/Log[(c_.)*(x_)^(n_)], x_Symbol] :> Dist[(d*x)^m/x^m, Int[x^m/Log[c*x^n], x], x] /; FreeQ
[{c, d, m, n}, x] && EqQ[m, n - 1]

Rubi steps

\begin {align*} \int \frac {(d x)^{-1+n}}{\log ^3\left (c x^n\right )} \, dx &=-\frac {(d x)^n}{2 d n \log ^2\left (c x^n\right )}+\frac {1}{2} \int \frac {(d x)^{-1+n}}{\log ^2\left (c x^n\right )} \, dx\\ &=-\frac {(d x)^n}{2 d n \log ^2\left (c x^n\right )}-\frac {(d x)^n}{2 d n \log \left (c x^n\right )}+\frac {1}{2} \int \frac {(d x)^{-1+n}}{\log \left (c x^n\right )} \, dx\\ &=-\frac {(d x)^n}{2 d n \log ^2\left (c x^n\right )}-\frac {(d x)^n}{2 d n \log \left (c x^n\right )}+\frac {1}{2} \left (x^{1-n} (d x)^{-1+n}\right ) \int \frac {x^{-1+n}}{\log \left (c x^n\right )} \, dx\\ &=-\frac {(d x)^n}{2 d n \log ^2\left (c x^n\right )}-\frac {(d x)^n}{2 d n \log \left (c x^n\right )}+\frac {\left (x^{1-n} (d x)^{-1+n}\right ) \operatorname {Subst}\left (\int \frac {1}{\log (c x)} \, dx,x,x^n\right )}{2 n}\\ &=-\frac {(d x)^n}{2 d n \log ^2\left (c x^n\right )}-\frac {(d x)^n}{2 d n \log \left (c x^n\right )}+\frac {x^{1-n} (d x)^{-1+n} \text {li}\left (c x^n\right )}{2 c n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 61, normalized size = 0.79 \[ \frac {x^{-n} (d x)^n \left (\text {li}\left (c x^n\right ) \log ^2\left (c x^n\right )-c x^n \left (\log \left (c x^n\right )+1\right )\right )}{2 c d n \log ^2\left (c x^n\right )} \]

Antiderivative was successfully verified.

[In]

Integrate[(d*x)^(-1 + n)/Log[c*x^n]^3,x]

[Out]

((d*x)^n*(-(c*x^n*(1 + Log[c*x^n])) + Log[c*x^n]^2*LogIntegral[c*x^n]))/(2*c*d*n*x^n*Log[c*x^n]^2)

________________________________________________________________________________________

fricas [A]  time = 0.44, size = 84, normalized size = 1.09 \[ -\frac {{\left (n \log \relax (x) + \log \relax (c) + 1\right )} d^{n - 1} x^{n} - \frac {{\left (n^{2} \log \relax (x)^{2} + 2 \, n \log \relax (c) \log \relax (x) + \log \relax (c)^{2}\right )} d^{n - 1} {\rm Ei}\left (n \log \relax (x) + \log \relax (c)\right )}{c}}{2 \, {\left (n^{3} \log \relax (x)^{2} + 2 \, n^{2} \log \relax (c) \log \relax (x) + n \log \relax (c)^{2}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n)^3,x, algorithm="fricas")

[Out]

-1/2*((n*log(x) + log(c) + 1)*d^(n - 1)*x^n - (n^2*log(x)^2 + 2*n*log(c)*log(x) + log(c)^2)*d^(n - 1)*Ei(n*log
(x) + log(c))/c)/(n^3*log(x)^2 + 2*n^2*log(c)*log(x) + n*log(c)^2)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x\right )^{n - 1}}{\log \left (c x^{n}\right )^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n)^3,x, algorithm="giac")

[Out]

integrate((d*x)^(n - 1)/log(c*x^n)^3, x)

________________________________________________________________________________________

maple [F]  time = 1.75, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x \right )^{n -1}}{\ln \left (c \,x^{n}\right )^{3}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^(n-1)/ln(c*x^n)^3,x)

[Out]

int((d*x)^(n-1)/ln(c*x^n)^3,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ d^{n} \int \frac {x^{n}}{2 \, {\left (d x \log \relax (c) + d x \log \left (x^{n}\right )\right )}}\,{d x} - \frac {d^{n} x^{n} \log \left (x^{n}\right ) + {\left (d^{n} \log \relax (c) + d^{n}\right )} x^{n}}{2 \, {\left (d n \log \relax (c)^{2} + 2 \, d n \log \relax (c) \log \left (x^{n}\right ) + d n \log \left (x^{n}\right )^{2}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^(-1+n)/log(c*x^n)^3,x, algorithm="maxima")

[Out]

d^n*integrate(1/2*x^n/(d*x*log(c) + d*x*log(x^n)), x) - 1/2*(d^n*x^n*log(x^n) + (d^n*log(c) + d^n)*x^n)/(d*n*l
og(c)^2 + 2*d*n*log(c)*log(x^n) + d*n*log(x^n)^2)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (d\,x\right )}^{n-1}}{{\ln \left (c\,x^n\right )}^3} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^(n - 1)/log(c*x^n)^3,x)

[Out]

int((d*x)^(n - 1)/log(c*x^n)^3, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x\right )^{n - 1}}{\log {\left (c x^{n} \right )}^{3}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)**(-1+n)/ln(c*x**n)**3,x)

[Out]

Integral((d*x)**(n - 1)/log(c*x**n)**3, x)

________________________________________________________________________________________